package com.hefeng.wx.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备绑定表;
 * @author : http://www.chiner.pro
 * @date : 2022-9-19
 */
@Data
@ApiModel(value = "设备绑定表",description = "")
@TableName("wx_device_user")
public class WxDeviceUser implements Serializable,Cloneable{
    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(type = IdType.NONE)
    private Long id ;
    /** 设备主键 */
    @ApiModelProperty(name = "设备主键",notes = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long deviceId ;
    @ApiModelProperty(name = "设备code",notes = "")
    private String deviceCode ;
    /** 用户主键 */
    @ApiModelProperty(name = "用户主键",notes = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId ;
    /** 用户主键 */
    @ApiModelProperty(name = "手机号码",notes = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String phone;
    /** 所属用户主键 */
    @ApiModelProperty(name = "所属用户主键",notes = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long ownerUser ;
    /** 是否删除 */
    @ApiModelProperty(name = "是否删除",notes = "")
    private Integer isDelete ;
    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createdTime ;


}